import xadmin


# 自定义xadmin主题
from xadmin import views
class GlobalSettings(object):
    """xadmin的全局配置"""
    site_title = "路飞学城"  # 设置站点标题
    site_footer = "路飞学城有限公司"  # 设置站点的页脚
    menu_style = "accordion"  # 设置菜单折叠
xadmin.site.register(views.CommAdminView, GlobalSettings)


# xadmin默认会注册auth组件中的所有表
# from . import models
# xadmin.site.register(models.User)
